<%@ Register TagPrefix="uc1" TagName="QuestionnaireViewer" Src="../FormsManagement/Controls/QuestionnaireViewer.ascx" %>
<%@ Register TagPrefix="cc2" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<%@ Register TagPrefix="uc1" TagName="ProtocolDetailHeader" Src="ProtocolDetailHeader.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>

<%@ Page Language="c#" Inherits="PHSRAG.Insight21.Humans.NewProcessPage" CodeFile="NewProcessPage.aspx.cs" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>NewProcessPage</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />

    <script language="javascript" type="text/javascript">
		function Save(){
			if (window.event.keyCode == 13)
			{
				obj=document.getElementById("saveProcess");
				if (obj)
				{
				obj.click();
				}
				window.event.returnValue = false;				
			}
		}
    </script>

</head>
<body onkeypress="Save()">
    <form id="Form1" method="post" runat="server">
        <table class="Container">
            <tr>
                <td>
                    <table cellspacing="0" width="100%">
                        <tr>
                            <td>
                                <cc1:Header ID="header" runat="server"></cc1:Header>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="0" width="100%">
                        <tr>
                            <td>
                                <uc1:ProtocolDetailHeader ID="protocolDetailHeader" runat="server"></uc1:ProtocolDetailHeader>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <cc2:BreadCrumb ID="breadCrumb" runat="server"></cc2:BreadCrumb>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <cc2:Annunciator ID="annunciator" runat="server"></cc2:Annunciator>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <h4>
                                    &nbsp;&nbsp;&nbsp;<asp:Label ID="processTitle" runat="server"></asp:Label></h4>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <cc2:PostbackGuard ID="postbackGuard" runat="server"></cc2:PostbackGuard>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="10">
                        <tr>
                            <td>
                                <uc1:QuestionnaireViewer ID="questionnaireViewer" runat="server"></uc1:QuestionnaireViewer>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:ImageButton ID="cancelProcess" runat="server" ImageUrl="../Images/b_cancel.gif">
                                </asp:ImageButton>
                                <asp:ImageButton ID="saveProcess" runat="server" ImageUrl="../Images/b_save.gif"></asp:ImageButton>
                            </td>
                        </tr>
                    </table>
                    <br />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
